@import './base.css';

header {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg_img {
    /* width: 97.5vw;
    height: 95.5vh; */
    width: 100%;
    height: 100%;
    position: relative;

}

.bg_img .bg {
    width: 100%;
    height: 100%;
    display: block;
}

.bg_img .bg_content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 97;
}

.bg_img .bg_content .login_content {
    width: 380px;
    position: relative;
}

.bg_img .bg_content .login_content .login_bg {
    width: 100%;
    background-color: rgba(116, 96, 133, .6);
    padding: 40px 50px;
    height: 530px;
    border-radius: 3.125rem;
    box-shadow: 2px 2px 2px rgba(116, 96, 133, 1);
}

.bg_img .bg_content .login_content .content {
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    padding: 40px 50px;
    height: 530px;
}

.bg_img .bg_content .login_content .content .logo_box {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg_img .bg_content .login_content .content .logo_box .logo {
    width: 60px;
    margin-right: 20px;
}

.bg_img .bg_content .login_content .content .logo_box .logo img {
    width: 100%;
}

.bg_img .bg_content .login_content .content .logo_box .text {
    font-size: 40px;
    font-weight: bold;
    color: #fff;
}

.bg_img .bg_content .login_content .content .login_title {
    width: 100%;
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.bg_img .bg_content .login_content .content .login_title .icon {
    font-size: 26px;
    color: #fff;
    margin-right: 10px;
}

.bg_img .bg_content .login_content .content .login_title .title {
    font-size: 15px;
    color: #fff;
}

.bg_img .bg_content .login_content .content .input {
    width: 100%;
    height: 50px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    background-color: #59426c;
    /* 深紫色背景 */
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    padding:  0 10px;
    border-radius: 15px;
    box-sizing: border-box;
    border: 1.5px solid transparent;
    transition: border-color 0.3s ease;
}

.bg_img .bg_content .login_content .content .input:hover{
    border: 2px solid rgba(255,255,255,0.5);
}

.bg_img .bg_content .login_content .content .input input {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    font-size: 15px;
    color: white;
    background-color: transparent;
    /* 文字颜色 */
    border: none;
}

.bg_img .bg_content .login_content .content .input .icon {
    color: #fff;
    font-size: 15px;
}


input.custom-placeholder::placeholder {
    /* 标准的语法 */
    color: white;
}

.bg_img .bg_content .login_content .content .login_menu {
    width: 100%;
    margin-top: 70px;
    height: 50px;
    border-radius: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background-color: #59426c;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    
}

.cool-button {
    background: linear-gradient(135deg, #746085, #746085, #746085, #746085, #554c87);
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative; /* For the pseudo element positioning */
  }
   
  .cool-button::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit; /* Match the parent's border radius */
    border: 2px solid transparent; /* Initial transparent border */
    transition: border-color 0.3s ease; /* Smooth transition for border color */
  }
   
  .cool-button:hover::before {
    border-color: rgba(255,255,255,0.5); 
  }

